package demo.service;

import java.util.List;

import demo.entity.Articles;

public interface ArticlesService {

	public boolean addArticles(Articles articles);
	
	public boolean updateArticles(Articles articles);
	
	public boolean delete(Integer id);
	
	public Articles getById(Integer id);

	public List<Articles> getByArticles(Articles articles,Integer pageNo,Integer pageSize);

	public boolean updateTotalById(Integer id,Integer total);	
}
